package cn.xuguowen.user.designPatten.chain_of_responsibility.hsp;

/**
 * ClassName: PurchaseRequest
 * Package: cn.xuguowen.user.designPatten.chain_of_responsibility.hsp
 * Description: 购买请求类
 *
 * @Author 徐国文
 * @Create 2023/6/2 21:59
 * @Version 1.0
 */
public class PurchaseRequest {
    /**
     * 购买者ID
     */
    private Long id;
    /**
     * 购买价格
     */
    private Double price;

    public PurchaseRequest(Long id, Double price) {
        this.id = id;
        this.price = price;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}
